﻿namespace TimeSpan.Views.Windows;

public partial class TaskRecordWindow : INavigationView<TaskRecordWindowViewModel> {

    public TaskRecordWindowViewModel ViewModel { get; }

    public TaskRecordWindow(TaskRecordWindowViewModel viewModel) {
        ViewModel = viewModel;
        DataContext = this;

        InitializeComponent();
    }

    private void Close_Click(object sender, System.Windows.RoutedEventArgs e) {
        Close();
    }
}
